package indzcraft.loader;

public class Reforge implements Comparable<Reforge>{
	private String from;
	private String to;
	private double ep;
	
	public Reforge(){
		from = "None";
		to = "None";
	}
	public Reforge(String f,String t){
		from = f;
		to = t;
	}
	public void setFrom(String f){
		from = f;
	}
	public String getFrom() {
		return from;
	}
	public void setTo(String t){
		to = t;
	}
	public String getTo() {
		return to;
	}
	public void setEP(double ep) {
		this.ep = ep;
	}

	public double getEP() {
		return ep;
	}
	
	@Override 
	public boolean equals(Object other) {
        if (!(other instanceof Reforge)) { return false; }
        Reforge o = (Reforge) other;
        if(!o.getTo().equals(to))
        	return false;
        if(!o.getFrom().equals(from))
        	return false;
        return true;
    }
	@Override
	public int compareTo(Reforge o) {
		return 0;
	}
}
